/**
 * Created by zkp on 2015/12/20.
 */
angular.module("loginApp",["ionic"])
    .controller("loginCtrl",['$scope','$http','$location',function($scope,$http,$location){
        $scope.login = function(){
          $http.post(
              '/weixin/yidong',
              $scope.login
          ).success(function(response) {
          })
          .error(function(response) {

          });;
        };
    }]);
